package org.wang.generalcode.modules.exam.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 年级信息表
 *
 * @author wz 1013069553@qq.com
 * @since 1.0.0 2024-11-20
 */
@Data
@Schema(description = "年级信息表")
public class GradeInfoVO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    @Schema(description = "所属阶段")
    private Integer schoolType;

    @Schema(description = "所属阶段名称")
    private String schoolTypeName;
}